package com.wish.housing.service.impl;

import com.wish.housing.entity.TbHouseInfo;
import com.wish.housing.mapper.TbHouseInfoMapper;
import com.wish.housing.service.ITbHouseInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 曹佳林 王泓翔-房源表 	！房态-杨子强 服务实现类
 * </p>
 *
 * @author gaoluwen
 * @since 2022-03-29
 */
@Service
public class TbHouseInfoServiceImpl extends ServiceImpl<TbHouseInfoMapper, TbHouseInfo> implements ITbHouseInfoService {

    @Override
    public void saveTbHouseInfo(TbHouseInfo tbHouseInfo) {
        baseMapper.saveTbHouseInfo(tbHouseInfo);
    }

    @Override
    public TbHouseInfo getHouseInfo(String id) {
        return baseMapper.getHouseInfo(id);
    }
}
